import request from '../utils/request'
//登录
function login(data) {
    return request.post("/api/login", data)
}

//注册
function register(data) {
    return request.post("/api/register", data)
}

//房源
function housingList(data) {
    return request.get("/api/housingList", data)
}
//团购
function tableData2(data) {
    return request.get("/api/tableData2", data)
}
//直播
function liveList(data) {
    return request.get("/api/liveList", data)
}

export {
    login,
    register,
    housingList,
    tableData2,
    liveList
}